package com.example.mybatis.sqlsession;

import com.example.mybatis.pojo.Configuration;
import com.example.mybatis.pojo.MappedStatement;

import java.util.List;

/**
 * @Classname Executor
 * @Date 2020/12/19 23:10
 * @@author admin
 * @Description TODO
 */
public interface Executor {

    <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;

    Object exe(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;
}